SPARTA (26 Feb 2021)
################################################################################
# beam of particles striking the surface at an inclined angle
# free molecular flow (no collisions)
#
# Note:
#  - The "comm/sort” option to the “global” command is used to match MPI runs.
# The "comm/sort" option should not be used for production runs.
################################################################################

seed	    	    123456
dimension   	    3
global              gridcut 0.0 comm/sort yes

boundary	    	oo oo oo


create_box          -11 11 -11 11 0 10
Created orthogonal box = (-11 -11 0) to (11 11 10)
create_grid 	    2 2 2
Created 8 child grid cells
  CPU time = 0.00094533 secs
  create/ghost percent = 87.5662 12.4338
balance_grid        rcb cell
Balance grid migrated 0 cells
  CPU time = 0.000156403 secs
  reassign/sort/migrate/ghost percent = 57.3171 1.52439 28.811 12.3476

global		    	nrho 1e10 fnum 1e6

species		    	air.species O CO CO2 O2 C
mixture		    	air O O2 vstream 0 1000 -1000

mixture             air O   frac 1.0
mixture             air CO  frac 0.0
mixture             air CO2 frac 0.0
mixture             air C   frac 0.0
mixture 			air O2 	frac 0.0


surf_collide        1 cll 300.0 0.5 0.5 0.5 0.5

read_surf			base_plate.surf
  8 points
  12 triangles
  -11 11 xlo xhi
  -11 11 ylo yhi
  0 1 zlo zhi
  1 min triangle edge length
  11 min triangle area
  0 0 = number of pushed cells
  4 0 = cells overlapping surfs, overlap cells with unmarked corner pts
  4 0 4 = cells outside/inside/overlapping surfs
  4 = surf cells with 1,2,etc splits
  4356 4356 = cell-wise and global flow volume
  CPU time = 0.00172615 secs
  read/check/sort/surf2grid/ghost/inout/particle percent = 12.5967 16.174 0.38674 58.9641 11.8785 12.4309 0.0138122
  surf2grid time = 0.00101781 secs
  map/comm1/comm2/comm3/comm4/split percent = 22.6283 3.37316 1.31178 1.73343 4.09932 64.0431

##################################### SURF REACT ADSORB ######################################
##################################### SURF OPTION ############################################

#surf_react        	 adsorb_test_ps1 adsorb ps sample-PS_1.surf nsync 1 surf 1000 6.022e18 O CO
#surf_modify 		 all collide 1 react adsorb_test_ps1

surf_react        	adsorb_test_ps2 adsorb ps sample-PS_2.surf nsync 1 surf 1000 6.022e18 O CO
surf_modify 		all collide 1 react adsorb_test_ps2

########################## BEAM ############################################################
# Beam at multiple points so that different processors handle the surface collisions

region              circle2 cylinder z  6 -10 1 -INF INF
region              circle3 cylinder z -6 -10 1 -INF INF

fix                 in2 emit/face/file air zhi data.beam beam_area_2 nevery 100 region circle2
fix                 in3 emit/face/file air zhi data.beam beam_area_3 nevery 100 region circle3

################################################################################################

#dump                2 image all 10 image.*.ppm type type pdiam 0.2 surf proc 0.01 size 512 512 zoom 1.75 gline no 0.005
#dump_modify	     	2 pad 4

timestep            0.0001

stats		    	10
stats_style	    	step cpu np nattempt ncoll nscoll nscheck
run 		    	1000
Memory usage per proc in Mbytes:
  particles (ave,min,max) = 0 0 0
  grid      (ave,min,max) = 1.51379 1.51379 1.51379
  surf      (ave,min,max) = 0.00151062 0.00151062 0.00151062
  total     (ave,min,max) = 1.5153 1.5153 1.5153
Step CPU Np Natt Ncoll Nscoll Nscheck 
       0            0        0        0        0        0        0 
      10 0.00028848648        0        0        0        0        0 
      20 0.00050640106        0        0        0        0        0 
      30 0.0007622242        0        0        0        0        0 
      40 0.00096511841        0        0        0        0        0 
      50 0.0011634827        0        0        0        0        0 
      60 0.0013608932        0        0        0        0        0 
      70 0.0016002655        0        0        0        0        0 
      80 0.0018305779        0        0        0        0        0 
      90 0.0020484924        0        0        0        0        0 
     100  0.010304928     6329        0        0        0        0 
     110  0.014338493     6333        0        0        0       24 
     120  0.018149376     6332        0        0        0       24 
     130   0.02219224     6332        0        0        0       24 
     140  0.026007891     6332        0        0        0       16 
     150  0.033256769     6333        0        0        0    50440 
     160  0.065052271     6333        0        0        0    50640 
     170   0.10685253     6333        0        0        0    50640 
     180   0.16003323     6332        0        0        0    50640 
     190   0.20185566     6332        0        0     6230   100720 
     200   0.24207139    12661        0        0        0    52752 
     210    0.2785728    12660        0        0        0    51888 
     220   0.31459284    12659        0        0        0    50352 
     230   0.34788704    12662        0        0        0    41712 
     240   0.37497997    12660        0        0        0    29016 
     250   0.39921379    12621        0        0        0    69168 
     260   0.44413495    12412        0        0        0    63008 
     270   0.48574567    11942        0        0        0    59024 
     280   0.52536869    11224        0        0        0    56592 
     290   0.57206249    10340        0        0     6240   105160 
     300   0.61701608    15709        0        0        0    55800 
     310   0.65808654    14944        0        0        0    54280 
     320   0.69610476    14328        0        0        0    51832 
     330   0.73116851    13880        0        0        0    42912 
     340   0.76055646    13552        0        0        0    29856 
     350   0.78580141    13239        0        0        0    68848 
     360   0.83043313    12873        0        0        0    62640 
     370   0.87227201    12252        0        0        0    58600 
     380   0.91289473    11401        0        0        0    56080 
     390   0.96066809    10474        0        0     6178   103992 
     400     1.005656    15808        0        0        0    55176 
     410    1.0461972    15034        0        0        0    53608 
     420    1.0850835    14344        0        0        0    51112 
     430    1.1209283    13864        0        0        0    42408 
     440    1.1835222    13502        0        0        0    29160 
     450    1.2086091    13199        0        0        0    68624 
     460     1.253088    12819        0        0        0    62208 
     470    1.2949104    12219        0        0        0    58088 
     480    1.3342822    11378        0        0        0    55568 
     490    1.3825016    10465        0        0     6154   103488 
     500    1.4273407    15886        0        0        0    55112 
     510    1.4683962    15062        0        0        0    53512 
     520    1.5067389    14453        0        0        0    51072 
     530    1.5416548    13933        0        0        0    42112 
     540    1.5699401    13568        0        0        0    29032 
     550    1.5944619    13276        0        0        0    69528 
     560    1.6395538    12890        0        0        0    63272 
     570     1.682059    12295        0        0        0    59392 
     580     1.722074    11488        0        0        0    56832 
     590    1.7705364    10579        0        0     6247   105376 
     600    1.8157516    15932        0        0        0    56248 
     610    1.8564017    15105        0        0        0    54616 
     620    1.8952127    14494        0        0        0    52336 
     630    1.9309685    13988        0        0        0    42760 
     640    1.9592264    13627        0        0        0    29560 
     650    1.9842117    13326        0        0        0    69352 
     660     2.029489    12931        0        0        0    63344 
     670    2.0712287    12323        0        0        0    59120 
     680      2.11043    11422        0        0        0    56576 
     690    2.1784031    10522        0        0     6203   104552 
     700    2.2403038    15888        0        0        0    55416 
     710    2.2813692    15123        0        0        0    54024 
     720    2.3206959    14447        0        0        0    51792 
     730    2.3566825    13970        0        0        0    43168 
     740    2.3862052    13592        0        0        0    29784 
     750    2.4112999    13315        0        0        0    69568 
     760    2.4559693    12920        0        0        0    63240 
     770    2.4977403    12318        0        0        0    58960 
     780    2.5367572    11526        0        0        0    56328 
     790    2.5849152    10587        0        0     6181   104176 
     800    2.6298001    15986        0        0        0    55336 
     810    2.6706412    15222        0        0        0    53776 
     820    2.7101381    14556        0        0        0    51712 
     830    2.7450469    14071        0        0        0    42656 
     840    2.7740455    13694        0        0        0    29424 
     850    2.7988455    13376        0        0        0    69504 
     860      2.84289    12995        0        0        0    63176 
     870    2.8827329    12361        0        0        0    58848 
     880    2.9219561    11476        0        0        0    56320 
     890    2.9688447    10533        0        0     6214   104496 
     900    3.0140784    15835        0        0        0    55456 
     910     3.054805    15044        0        0        0    54160 
     920    3.0929465    14396        0        0        0    51752 
     930    3.1291561    13898        0        0        0    42920 
     940    3.1582377    13522        0        0        0    30112 
     950     3.184135    13215        0        0        0    69256 
     960    3.2301986    12845        0        0        0    62888 
     970    3.2726047    12276        0        0        0    58728 
     980    3.3124738    11457        0        0        0    56248 
     990    3.3605018    10593        0        0     6118   103744 
    1000    3.4049845    15926        0        0        0    55384 
Loop time of 3.405 on 1 procs for 1000 steps with 15926 particles

MPI task timing breakdown:
Section |  min time  |  avg time  |  max time  |%varavg| %total
---------------------------------------------------------------
Move    | 3.2995     | 3.2995     | 3.2995     |   0.0 | 96.90
Coll    | 0          | 0          | 0          |   0.0 |  0.00
Sort    | 0          | 0          | 0          |   0.0 |  0.00
Comm    | 0.004163   | 0.004163   | 0.004163   |   0.0 |  0.12
Modify  | 0.066648   | 0.066648   | 0.066648   |   0.0 |  1.96
Output  | 0.010864   | 0.010864   | 0.010864   |   0.0 |  0.32
Other   |            | 0.02383    |            |       |  0.70

Particle moves    = 11037800 (11M)
Cells touched     = 11196646 (11.2M)
Particle comms    = 0 (0K)
Boundary collides = 0 (0K)
Boundary exits    = 47144 (47.1K)
SurfColl checks   = 44087680 (44.1M)
SurfColl occurs   = 56646 (56.6K)
Surf reactions    = 0 (0K)
Collide attempts  = 0 (0K)
Collide occurs    = 0 (0K)
Reactions         = 0 (0K)
Particles stuck   = 0
Axisymm bad moves = 0

Particle-moves/CPUsec/proc: 3.24165e+06
Particle-moves/step: 11037.8
Cell-touches/particle/step: 1.01439
Particle comm iterations/step: 1
Particle fraction communicated: 0
Particle fraction colliding with boundary: 0
Particle fraction exiting boundary: 0.00427114
Surface-checks/particle/step: 3.99425
Surface-collisions/particle/step: 0.005132
Surf-reactions/particle/step: 0
Collision-attempts/particle/step: 0
Collisions/particle/step: 0
Reactions/particle/step: 0

Surface reaction tallies:
  id adsorb_test_ps2 style adsorb #-of-reactions 5
    reaction all: 113
    reaction C(b) --> C(g): 113

Particles: 15926 ave 15926 max 15926 min
Histogram: 1 0 0 0 0 0 0 0 0 0
Cells:      8 ave 8 max 8 min
Histogram: 1 0 0 0 0 0 0 0 0 0
GhostCell: 0 ave 0 max 0 min
Histogram: 1 0 0 0 0 0 0 0 0 0
EmptyCell: 0 ave 0 max 0 min
Histogram: 1 0 0 0 0 0 0 0 0 0
Surfs:    12 ave 12 max 12 min
Histogram: 1 0 0 0 0 0 0 0 0 0
GhostSurf: 0 ave 0 max 0 min
Histogram: 1 0 0 0 0 0 0 0 0 0
